<div class="page-content">
	 <router-link :to="{ name: 'newCate', params: { shop_id: shop_id , type:type, id:0}}"  class="new-cate-item color_0 s_left" >+新建分类</router-link>
	  <!-- <a  @click="preview"  class="new-cate-item color_0 s_left" >预览</a> -->
	   <a @click="shareUrl"  class="new-cate-item s_left color_0" >分享链接</a>
	  <a @click="eat_in_hall_pay_setting"  v-if="type==2" class="new-cate-item s_right color_2" >消费模式设置</a>
	 
	  <a @click="freight_setting"  v-if="type==1" class="new-cate-item s_right color_2" >配送设置</a>

	  
	  <div class="clear"></div>

     <router-link :to="{ name: 'newCate', params: { shop_id: shop_id , type:type, id:item.id}}" class="cate-item" v-for="item in items">

     	 <div class="cate-item-in">
     	   	  <div class="cate-name">{{item.name}}（{{item.goods_count}}）</div>
     	      <div class="cate-goods text-over-hidden">{{item.goods_names}}</div>
    	 </div>
     </<router-link>
      
</div>